import request from '@/utils/request'
function getUrl(url) { return '/api/admin/personalWork/' + url }


//添加个人工作信息
export function addInPersonalWork(data) {
    return request({
        url: getUrl("addInPersonalWork"),
        method: 'post',
        data
    })
}

//更新个人工作信息
export function updateInPersonalWork(data) {
    return request({
        url: getUrl("updateInPersonalWork"),
        method: 'post',
        data
    })
}

export function getInPersonalWorkVo(data) {
    return request({
        url: getUrl("getInPersonalWorkVo"),
        method: 'post',
        data
    })
}

//软删除
export function deleteInPersonalWork(data) {
    return request({
        url: getUrl("deleteInPersonalWork"),
        method: 'post',
        data
    })
}

//强删除
export function removeInPersonalWork(data) {
    return request({
        url: getUrl("removeInPersonalWork"),
        method: 'post',
        data
    })
}


export function getInPersonalWorkList(data) {
    return request({
        url: getUrl("getInPersonalWorkList"),
        method: 'post',
        data
    })
}